Optimal. Leaf size=80 \[ \frac {x \sqrt {2+3 x^2}}{3 \sqrt {1+x^2}}-\frac {\sqrt {2} \sqrt {2+3 x^2} E\left (\tan ^{-1}(x)|-\frac {1}{2}\right )}{3 \sqrt {1+x^2} \sqrt {\frac {2+3 x^2}{1+x^2}}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps
used = 2, number of rules used = 2, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.083, Rules used = {506, 422}
\begin {gather*} \frac {x \sqrt {3 x^2+2}}{3 \sqrt {x^2+1}}-\frac {\sqrt {2} \sqrt {3 x^2+2} E\left (\text {ArcTan}(x)\left |-\frac {1}{2}\right .\right )}{3 \sqrt {x^2+1} \sqrt {\frac {3 x^2+2}{x^2+1}}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 422
Rule 506
Rubi steps
\begin {align*} \int \frac {x^2}{\sqrt {1+x^2} \sqrt {2+3 x^2}} \, dx &=\frac {x \sqrt {2+3 x^2}}{3 \sqrt {1+x^2}}-\frac {1}{3} \int \frac {\sqrt {2+3 x^2}}{\left (1+x^2\right )^{3/2}} \, dx\\ &=\frac {x \sqrt {2+3 x^2}}{3 \sqrt {1+x^2}}-\frac {\sqrt {2} \sqrt {2+3 x^2} E\left (\tan ^{-1}(x)|-\frac {1}{2}\right )}{3 \sqrt {1+x^2} \sqrt {\frac {2+3 x^2}{1+x^2}}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 0.25, size = 34, normalized size = 0.42 \begin {gather*} -\frac {1}{3} i \sqrt {2} \left (E\left (i \sinh ^{-1}(x)|\frac {3}{2}\right )-F\left (i \sinh ^{-1}(x)|\frac {3}{2}\right )\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.11, size = 30, normalized size = 0.38
method | result | size |
default | \(\frac {i \left (\EllipticF \left (i x , \frac {\sqrt {6}}{2}\right )-\EllipticE \left (i x , \frac {\sqrt {6}}{2}\right )\right ) \sqrt {2}}{3}\) | \(30\) |
elliptic | \(\frac {i \sqrt {\left (3 x^{2}+2\right ) \left (x^{2}+1\right )}\, \sqrt {6 x^{2}+4}\, \left (\EllipticF \left (i x , \frac {\sqrt {6}}{2}\right )-\EllipticE \left (i x , \frac {\sqrt {6}}{2}\right )\right )}{3 \sqrt {3 x^{2}+2}\, \sqrt {3 x^{4}+5 x^{2}+2}}\) | \(74\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{2}}{\sqrt {x^{2} + 1} \sqrt {3 x^{2} + 2}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^2}{\sqrt {x^2+1}\,\sqrt {3\,x^2+2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________